<extend name="Base/common"/>
<block name="body">

<div class="content-body">
	<div class="col-md-12">
		<div class="video">
			<div id="flashcontent" style="height:600px;width:1000px;margin:0 auto;">
				<embed type="application/x-shockwave-flash" src="{$content.url}" width="1000" height="600" style="undefined" id="sotester" name="sotester" quality="high" wmode="transparent" scale="noscale" menu="false" allowfullscreen="true" allowScriptAccess="never"
				flashvars="lm=">
			</div>
		</div>
		<h2 class="content-title">
	        {$content.title}
	    </h2>
	</div>
	<div class="clearfix visible-md-block"></div>
	<div class="col-md-7">
		<div class="meta">
		来自树丛：<a href="{:U('group/index/group',array('id'=>$content['group_id']))}" class="c_yellow">{$content.group_id|get_group_name}</a>
		用户： <a ucard="{$content.user.id}" href="{$content.user.space_url}"> {$content.user.nickname} </a>
		{$content.create_time|friendlyDate}&nbsp;
		<neq name="content.url" value="">
			<a target="_blank" href="{$content.url}" class="gray"><i class="iconfont fs24">&#xe643;</i>&nbsp;全屏</a>
		</neq>
		<if condition="($content['uid'] eq is_login()) OR check_auth('editVideoContent')">
			<a href="{:U('edit',array('id'=>$content['id']))}" class="gray"><i class="iconfont bj">&#xe641;</i>&nbsp;编辑</a>
		</if>
		{:W('Weibo/Share/shareBtn',array('param'=>array('app'=>'Video','model'=>'VideoContent','method'=>'find','id'=>$content['id'],'img'=>get_cover($content['cover_id'],'path'),'from'=>'视频','site_link'=>U('video/index/videocontentdetail',array('id'=>$content['id']))),'text'=>'分享','css'=>array('class'=>'c_yellow','style'=>'font-size:16px;vertical-align: -1px;')))}
		</div>
	</div>
	<div class="col-md-5">
		<div class="pull-right">
			<ul class="operation pull-right">
				<li>{:Hook('videovote',array('table'=>'video_content','row'=>$content['id'],'app'=>'Video','uid'=>$content['uid'],'jump'=>'video/index/videocontentdetail','css'=>array('class'=>'white')))}</li>
				<li><i class="iconfont fs22">&#xe63b;</i>{$content.reply_count}</li>
				<li><i class="iconfont fs22">&#xe63a;</i>{$content.view_count}</li>
			</ul>
			
			<div class="bdsharebuttonbox share pull-right">
				<a href="#" class="qzone" data-cmd="qzone" title="分享到QQ空间"></a>
				<a href="#" class="tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
				<a href="#" class="weixin" data-cmd="weixin" title="分享到微信"></a>
				<a href="#" class="tsina" data-cmd="tsina" title="分享到新浪微博"></a>
			</div>
			<script>
				window._bd_share_config = {
					"common": {
						"bdSnsKey": {},
						"bdText": "",
						"bdMini": "2",
						"bdMiniList": false,
						"bdPic": "",
						"bdStyle": "1",
						"bdSize": "24"
					},
					"share": {}
				};
				with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
			</script>
			<div class="pull-right"><img src="__THEME_PUBLIC__/images/zp13.jpg" /></div>
			<style>
				#bdshare_weixin_qrcode_dialog {
					min-height: 326px;
				}
			</style>
		</div>
	</div>
	<div class="clearfix visible-md-block"></div>
	
	<div class="col-md-12">
		<h2 class="content-title1">视频简介</h2>
		<div class="signature word-wrap">
			<div class="triangle_left"></div>
			<eq name="content.content" value="">还没有简介</eq>
			{$content.content}
		</div>
	</div>
	
	<div class="clearfix visible-md-block"></div>
    <div class="col-md-12">
    {:hook('localComment', array('path'=>"Video/videoContent/$content[id]", 'uid'=>$content['uid'],'count_model'=>'video_content','count_field'=>'reply_count','this_url'=>'Video/Index/videoContentDetail'))}
    </div>
</div>

<script type="text/javascript" charset="utf-8" src="__STATIC__/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css"/>
<script type="text/javascript">
    SyntaxHighlighter.all();
</script>
</block>


